CC=g++
FLAG=-fopenmp -std=c++11 -D _FILE_OFFSET_BITS=64
#-L"ws2_32" -mwindows -lwsock32
comm=-L../lib -lcommon_conf

build:
	make server
	cp server ../bin/

run:
	./server

server: server.o fudpServer.o
	${CC} *.o ${FLAG} ${comm} -o server

server.o: server.cpp
	${CC} -c ${FLAG} server.cpp

fudpServer.o:fudpServer.cpp
	${CC} -c ${FLAG} fudpServer.cpp

clean:
	rm *.o
	rm server